Setting a default if an argument isn’t passed

In doing some bash scripting… I use some simple scripts to automate commands so I don’t have to type in (or remember) all the parameters. This script uses the du command to show me the disk usage on directories. The depth parameter specifies how deep in the path to go when reporting. I wanted the … Continue reading Setting a default if an argument isn’t passed